package com.lintf.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lin tingfeng
 * @system Mac
 * @data 2024/7/18 10:05
 * @package_name com.lintf.common.config
 * @project_name spring-ai
 * @desc
 */
@Data
@Component
@ConfigurationProperties(prefix = "openai")
public class OpenAiConfig {

    private String apiKey;

    private String baseUrl;

    private String maxTokens;

    private String maxN;

}
